<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="OptionService" output="false" extends="_OptionService">
	
    <cfset variables.objectInstance = structNew() />
	

	<cffunction name="init" access="public" output="false" returntype="OptionService">
		<cfargument name="OptionDAO" type="OptionDAO" required="true" />
		<cfargument name="OptionGateway" type="OptionGateway" required="true" />

		<cfset super.init(arguments.OptionDAO, arguments.OptionGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="OptionGateway">
    	<cfreturn variables.OptionGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="OptionDAO">
    	<cfreturn variables.OptionDAO />
    </cffunction>
</cfcomponent>


